# near model CODE resource # jump table entries: 13968-13971 (4 of them) fn00000000: 00000000 4E56 FFDE link A6, -0x0022 00000004 2F0C move.l -[A7], A4 00000006 286E 0008 movea.l A4, [A6 + 0x8] 0000000A 200C move.l D0, A4 0000000C 6700 00E6 beq +0xE8 /* 000000F4 */ 00000010 2F0C move.l -[A7], A4 00000012 205F movea.l A0, [A7]+ 00000014 A029 syscall HLock 00000016 2054 movea.l A0, [A4] 00000018 1F10 move.b -[A7], [A0] 0000001A 3F3C 00FF move.w -[A7], 0xFF 0000001E 4EAD 4922 jsr [A5 + 0x4922 /* export_2336 */] 00000022 43ED EBC4 lea.l A1, [A5 - 0x143C] 00000026 7007 moveq.l D0, 0x07 label00000028: 00000028 22D8 move.l [A1]+, [A0]+ 0000002A 51C8 FFFC dbf D0, -0x6 /* 00000028 */ 0000002E 2054 movea.l A0, [A4] 00000030 41E8 0020 lea.l A0, [A0 + 0x20] 00000034 1F10 move.b -[A7], [A0] 00000036 3F3C 00FF move.w -[A7], 0xFF 0000003A 4EAD 4922 jsr [A5 + 0x4922 /* export_2336 */] 0000003E 43ED EAB4 lea.l A1, [A5 - 0x154C] 00000042 7007 moveq.l D0, 0x07 label00000044: 00000044 22D8 move.l [A1]+, [A0]+ 00000046 51C8 FFFC dbf D0, -0x6 /* 00000044 */ 0000004A 2054 movea.l A0, [A4] 0000004C 41E8 0040 lea.l A0, [A0 + 0x40] 00000050 1F10 move.b -[A7], [A0] 00000052 3F3C 00FF move.w -[A7], 0xFF 00000056 4EAD 4922 jsr [A5 + 0x4922 /* export_2336 */] 0000005A 43ED E9B4 lea.l A1, [A5 - 0x164C] 0000005E 7007 moveq.l D0, 0x07 label00000060: 00000060 22D8 move.l [A1]+, [A0]+ 00000062 51C8 FFFC dbf D0, -0x6 /* 00000060 */ 00000066 2F0C move.l -[A7], A4 00000068 205F movea.l A0, [A7]+ 0000006A A02A syscall HUnlock 0000006C 2F0C move.l -[A7], A4 0000006E A9A3 syscall ReleaseResource 00000070 486E FFDE pea.l [A6 - 0x22] 00000074 41ED EAB4 lea.l A0, [A5 - 0x154C] 00000078 1F10 move.b -[A7], [A0] 0000007A 3F3C 00FF move.w -[A7], 0xFF 0000007E 4EAD 4922 jsr [A5 + 0x4922 /* export_2336 */] 00000082 2F08 move.l -[A7], A0 00000084 487A 00E4 pea.l [PC + 0xE4 /* 0000016A, value 0xA232323 '\n###', pstring "##########" */] 00000088 4EAD 46F2 jsr [A5 + 0x46F2 /* export_2266 */] 0000008C 588F addq.l A7, 4 0000008E 41EE FFE8 lea.l A0, [A6 - 0x18] 00000092 43EE FFDE lea.l A1, [A6 - 0x22] 00000096 20D9 move.l [A0]+, [A1]+ 00000098 20D9 move.l [A0]+, [A1]+ 0000009A 3091 move.w [A0], [A1] 0000009C 486E FFDE pea.l [A6 - 0x22] 000000A0 41ED E9B4 lea.l A0, [A5 - 0x164C] 000000A4 1F10 move.b -[A7], [A0] 000000A6 3F3C 00FF move.w -[A7], 0xFF 000000AA 4EAD 4922 jsr [A5 + 0x4922 /* export_2336 */] 000000AE 2F08 move.l -[A7], A0 000000B0 487A 00B8 pea.l [PC + 0xB8 /* 0000016A, value 0xA232323 '\n###', pstring "##########" */] 000000B4 4EAD 46F2 jsr [A5 + 0x46F2 /* export_2266 */] 000000B8 588F addq.l A7, 4 000000BA 41EE FFF2 lea.l A0, [A6 - 0xE] 000000BE 43EE FFDE lea.l A1, [A6 - 0x22] 000000C2 20D9 move.l [A0]+, [A1]+ 000000C4 20D9 move.l [A0]+, [A1]+ 000000C6 3091 move.w [A0], [A1] 000000C8 486E FFF2 pea.l [A6 - 0xE] 000000CC 41EE FFDE lea.l A0, [A6 - 0x22] 000000D0 43EE FFE8 lea.l A1, [A6 - 0x18] 000000D4 20D9 move.l [A0]+, [A1]+ 000000D6 20D9 move.l [A0]+, [A1]+ 000000D8 3091 move.w [A0], [A1] 000000DA 486E FFDE pea.l [A6 - 0x22] 000000DE 3F3C 0006 move.w -[A7], 0x6 000000E2 A9EB syscall Pack4/FP68K 000000E4 41ED EBB8 lea.l A0, [A5 - 0x1448] 000000E8 43EE FFDE lea.l A1, [A6 - 0x22] 000000EC 20D9 move.l [A0]+, [A1]+ 000000EE 20D9 move.l [A0]+, [A1]+ 000000F0 3091 move.w [A0], [A1] 000000F2 6048 bra +0x4A /* 0000013C */ label000000F4: 000000F4 41ED EBC4 lea.l A0, [A5 - 0x143C] 000000F8 43FA 0064 lea.l A1, [PC + 0x64 /* 0000015E, value 0xB232323, pstring "###,###,###" */] 000000FC 20D9 move.l [A0]+, [A1]+ 000000FE 20D9 move.l [A0]+, [A1]+ 00000100 20D9 move.l [A0]+, [A1]+ 00000102 3B7C 0131 EAB4 move.w [A5 - 0x154C], 0x131 00000108 3B7C 0131 E9B4 move.w [A5 - 0x164C], 0x131 0000010E 487A 0044 pea.l [PC + 0x44 /* 00000154, value 0x3FFF8000 */] 00000112 41EE FFDE lea.l A0, [A6 - 0x22] 00000116 43FA 003C lea.l A1, [PC + 0x3C /* 00000154, value 0x3FFF8000 */] 0000011A 20D9 move.l [A0]+, [A1]+ 0000011C 20D9 move.l [A0]+, [A1]+ 0000011E 3091 move.w [A0], [A1] 00000120 486E FFDE pea.l [A6 - 0x22] 00000124 3F3C 0006 move.w -[A7], 0x6 00000128 A9EB syscall Pack4/FP68K 0000012A 41ED EBB8 lea.l A0, [A5 - 0x1448] 0000012E 43EE FFDE lea.l A1, [A6 - 0x22] 00000132 20D9 move.l [A0]+, [A1]+ 00000134 20D9 move.l [A0]+, [A1]+ 00000136 3091 move.w [A0], [A1] 00000138 426D EBB4 clr.w [A5 - 0x144C] label0000013C: 0000013C 285F movea.l A4, [A7]+ 0000013E 4E5E unlink A6 00000140 2E9F move.l [A7], [A7]+ 00000142 4E75 rts 00000144 8C53 or.w D6, [A3] 00000146 4554 chk.w D2, [A4] 00000148 554E subq.w A6, 2 0000014A 4954 chk.w D4, [A4] 0000014C 5349 subq.w A1, 1 0000014E 4E46 trap 6 00000150 4F00 .invalid 7, D0 // invalid opcode 4 with b == 4 00000152 0022 3FFF ori.b -[A2], 0xFF 00000156 8000 or.b D0, D0 00000158 0000 0000 ori.b D0, 0x0 0000015C 0000 0B23 ori.b D0, 0x23 /* '#' */ 00000160 2323 move.l -[A1], -[A3] 00000162 2C23 move.l D6, -[A3] 00000164 2323 move.l -[A1], -[A3] 00000166 2C23 move.l D6, -[A3] 00000168 2323 move.l -[A1], -[A3] 0000016A 0A23 2323 xori.b -[A3], 0x23 /* '#' */ 0000016E 2323 move.l -[A1], -[A3] 00000170 2323 move.l -[A1], -[A3] 00000172 2323 move.l -[A1], -[A3] 00000174 2300 move.l -[A1], D0 00000176 0000 4E56 ori.b D0, 0x56 /* 'V' */ // begin alternate branch 00000178-0000017E fn00000178: 00000178 4E56 FEF6 link A6, -0x010A 0000017C 2F0C move.l -[A7], A4 // end alternate branch 00000178-0000017E fn00000178: // (misaligned) 0000017A FEF6 2F0C .extension 0xEF6 <> // unimplemented 0000017E 206E 0008 movea.l A0, [A6 + 0x8] 00000182 43EE FF00 lea.l A1, [A6 - 0x100] 00000186 703F moveq.l D0, 0x3F label00000188: 00000188 22D8 move.l [A1]+, [A0]+ 0000018A 51C8 FFFC dbf D0, -0x6 /* 00000188 */ 0000018E 42A7 clr.l -[A7] 00000190 2F3C 556E 6974 move.l -[A7], 0x556E6974 /* 'Unit' */ 00000196 41EE FF00 lea.l A0, [A6 - 0x100] 0000019A 1F10 move.b -[A7], [A0] 0000019C 3F3C 00FF move.w -[A7], 0xFF 000001A0 4EAD 4922 jsr [A5 + 0x4922 /* export_2336 */] 000001A4 2F08 move.l -[A7], A0 000001A6 A9A1 syscall GetNamedResource 000001A8 285F movea.l A4, [A7]+ 000001AA 200C move.l D0, A4 000001AC 6716 beq +0x18 /* 000001C4 */ 000001AE 2F0C move.l -[A7], A4 000001B0 486E FEFA pea.l [A6 - 0x106] 000001B4 486E FEF6 pea.l [A6 - 0x10A] 000001B8 486E FF00 pea.l [A6 - 0x100] 000001BC A9A8 syscall GetResInfo 000001BE 3B6E FEFA EBB4 move.w [A5 - 0x144C], [A6 - 0x106] label000001C4: 000001C4 2F0C move.l -[A7], A4 000001C6 4EBA FE38 jsr [PC - 0x1C8 /* 00000000 */] 000001CA 285F movea.l A4, [A7]+ 000001CC 4E5E unlink A6 000001CE 2E9F move.l [A7], [A7]+ 000001D0 4E75 rts 000001D2 8D53 or.w [A3], D6 000001D4 4554 chk.w D2, [A4] 000001D6 4E41 trap 1 000001D8 4D45 chk.w D6, D5 000001DA 4455 neg.w [A5] 000001DC 4E49 trap 9 000001DE 5453 addq.w [A3], 2 000001E0 0000 0000 ori.b D0, 0x0 export_1746: 000001E4 4E56 0000 link A6, 0 000001E8 3B6E 0008 EBB4 move.w [A5 - 0x144C], [A6 + 0x8] 000001EE 42A7 clr.l -[A7] 000001F0 2F3C 556E 6974 move.l -[A7], 0x556E6974 /* 'Unit' */ 000001F6 3F2E 0008 move.w -[A7], [A6 + 0x8] 000001FA A9A0 syscall GetResource 000001FC 4EBA FE02 jsr [PC - 0x1FE /* 00000000 */] 00000200 4E5E unlink A6 00000202 205F movea.l A0, [A7]+ 00000204 544F addq.w A7, 2 00000206 4ED0 jmp [A0] 00000208 8853 or.w D4, [A3] 0000020A 4554 chk.w D2, [A4] 0000020C 554E subq.w A6, 2 0000020E 4954 chk.w D4, [A4] 00000210 5300 subq.b D0, 1 00000212 0000 4E56 ori.b D0, 0x56 /* 'V' */ // begin alternate branch 00000214-00000220 export_1747: fn00000214: 00000214 4E56 FCEC link A6, -0x0314 00000218 486E 0008 pea.l [A6 + 0x8] 0000021C 486E FDEC pea.l [A6 - 0x214] // end alternate branch 00000214-00000220 export_1747: // at 00000214 (misaligned) fn00000214: // (misaligned) 00000216 FCEC 486E .extension 0xCEC <> // unimplemented 0000021A 0008 486E ori.b A0, 0x6E /* 'n' */ 0000021E FDEC .invalid <> 00000220 3F3C 200E move.w -[A7], 0x200E 00000224 A9EB syscall Pack4/FP68K 00000226 486D EBB8 pea.l [A5 - 0x1448] 0000022A 486E FDEC pea.l [A6 - 0x214] 0000022E 3F3C 0004 move.w -[A7], 0x4 00000232 A9EB syscall Pack4/FP68K 00000234 41EE FFF6 lea.l A0, [A6 - 0xA] 00000238 43EE FDEC lea.l A1, [A6 - 0x214] 0000023C 20D9 move.l [A0]+, [A1]+ 0000023E 20D9 move.l [A0]+, [A1]+ 00000240 3091 move.w [A0], [A1] 00000242 41ED EBC4 lea.l A0, [A5 - 0x143C] 00000246 1F10 move.b -[A7], [A0] 00000248 3F3C 00FF move.w -[A7], 0xFF 0000024C 4EAD 4922 jsr [A5 + 0x4922 /* export_2336 */] 00000250 43EE FEF6 lea.l A1, [A6 - 0x10A] 00000254 703F moveq.l D0, 0x3F label00000256: 00000256 22D8 move.l [A1]+, [A0]+ 00000258 51C8 FFFC dbf D0, -0x6 /* 00000256 */ 0000025C 486E FCEC pea.l [A6 - 0x314] 00000260 486E FFF6 pea.l [A6 - 0xA] 00000264 41EE FEF6 lea.l A0, [A6 - 0x10A] 00000268 1F10 move.b -[A7], [A0] 0000026A 3F3C 00FF move.w -[A7], 0xFF 0000026E 4EAD 4922 jsr [A5 + 0x4922 /* export_2336 */] 00000272 2F08 move.l -[A7], A0 00000274 4EAD 46E2 jsr [A5 + 0x46E2 /* export_2264 */] 00000278 205F movea.l A0, [A7]+ 0000027A 1F10 move.b -[A7], [A0] 0000027C 3F3C 00FF move.w -[A7], 0xFF 00000280 4EAD 4922 jsr [A5 + 0x4922 /* export_2336 */] 00000284 43EE FDF6 lea.l A1, [A6 - 0x20A] 00000288 703F moveq.l D0, 0x3F label0000028A: 0000028A 22D8 move.l [A1]+, [A0]+ 0000028C 51C8 FFFC dbf D0, -0x6 /* 0000028A */ 00000290 206E 000A movea.l A0, [A6 + 0xA] 00000294 43EE FDF6 lea.l A1, [A6 - 0x20A] 00000298 1F11 move.b -[A7], [A1] 0000029A 3F3C 00FF move.w -[A7], 0xFF 0000029E 4EAD 4922 jsr [A5 + 0x4922 /* export_2336 */] 000002A2 703F moveq.l D0, 0x3F label000002A4: 000002A4 20D9 move.l [A0]+, [A1]+ 000002A6 51C8 FFFC dbf D0, -0x6 /* 000002A4 */ 000002AA 4E5E unlink A6 000002AC 205F movea.l A0, [A7]+ 000002AE 544F addq.w A7, 2 000002B0 4ED0 jmp [A0] 000002B2 8A50 or.w D5, [A0] 000002B4 5432 554E addq.b <>, 2 000002B8 4954 chk.w D4, [A4] 000002BA 5354 subq.w [A4], 1 000002BC 5200 addq.b D0, 1 000002BE 0000 4E56 ori.b D0, 0x56 /* 'V' */ export_1748: // at 000002C0 (misaligned) 000002C2 FD00 .extension 0xD00 <> // unimplemented 000002C4 206E 000C movea.l A0, [A6 + 0xC] 000002C8 2F08 move.l -[A7], A0 000002CA 2F08 move.l -[A7], A0 000002CC 486E FE00 pea.l [A6 - 0x200] 000002D0 3F2E 000A move.w -[A7], [A6 + 0xA] 000002D4 4EBA FF3E jsr [PC - 0xC2 /* 00000214 */] 000002D8 201F move.l D0, [A7]+ 000002DA 205F movea.l A0, [A7]+ 000002DC 2F00 move.l -[A7], D0 000002DE 487A 004E pea.l [PC + 0x4E /* 0000032E, value 0x3207820, pstring " x " */] 000002E2 2F08 move.l -[A7], A0 000002E4 486E FD00 pea.l [A6 - 0x300] 000002E8 3F2E 0008 move.w -[A7], [A6 + 0x8] 000002EC 4EBA FF26 jsr [PC - 0xDA /* 00000214 */] 000002F0 201F move.l D0, [A7]+ 000002F2 205F movea.l A0, [A7]+ 000002F4 2F00 move.l -[A7], D0 000002F6 486E FF00 pea.l [A6 - 0x100] 000002FA 3F3C 0003 move.w -[A7], 0x3 000002FE 4EAD 494A jsr [A5 + 0x494A /* export_2341 */] 00000302 205F movea.l A0, [A7]+ 00000304 43EE FF00 lea.l A1, [A6 - 0x100] 00000308 1F11 move.b -[A7], [A1] 0000030A 3F3C 00FF move.w -[A7], 0xFF 0000030E 4EAD 4922 jsr [A5 + 0x4922 /* export_2336 */] 00000312 703F moveq.l D0, 0x3F label00000314: 00000314 20D9 move.l [A0]+, [A1]+ 00000316 51C8 FFFC dbf D0, -0x6 /* 00000314 */ 0000031A 4E5E unlink A6 0000031C 2E9F move.l [A7], [A7]+ 0000031E 4E75 rts 00000320 8B50 or.w [A0], D5 00000322 5453 addq.w [A3], 2 00000324 3255 movea.w A1, [A5] 00000326 4E49 trap 9 00000328 5453 addq.w [A3], 2 0000032A 5452 addq.w [A2], 2 0000032C 0004 0320 ori.b D4, 0x20 /* ' ' */ 00000330 7820 moveq.l D4, 0x20 00000332 0000 4E56 ori.b D0, 0x56 /* 'V' */ export_1749: // at 00000334 (misaligned) 00000336 FFFC .invalid <> 00000338 2F0C move.l -[A7], A4 0000033A 42A7 clr.l -[A7] 0000033C 4EAD 433A jsr [A5 + 0x433A /* export_2147 */] 00000340 285F movea.l A4, [A7]+ 00000342 200C move.l D0, A4 00000344 6756 beq +0x58 /* 0000039C */ 00000346 2054 movea.l A0, [A4] 00000348 3028 0158 move.w D0, [A0 + 0x158] 0000034C 5340 subq.w D0, 1 0000034E 6712 beq +0x14 /* 00000362 */ 00000350 5340 subq.w D0, 1 00000352 6718 beq +0x1A /* 0000036C */ 00000354 5340 subq.w D0, 1 00000356 671E beq +0x20 /* 00000376 */ 00000358 5340 subq.w D0, 1 0000035A 6724 beq +0x26 /* 00000380 */ 0000035C 5340 subq.w D0, 1 0000035E 672A beq +0x2C /* 0000038A */ 00000360 6032 bra +0x34 /* 00000394 */ label00000362: 00000362 487A 0064 pea.l [PC + 0x64 /* 000003C8, value 0x6496E63, pstring "Inches" */] 00000366 4EBA FE10 jsr [PC - 0x1F0 /* 00000178 */] 0000036A 6030 bra +0x32 /* 0000039C */ label0000036C: 0000036C 487A 0034 pea.l [PC + 0x34 /* 000003A2, value 0x6506F69, pstring "Points" */] 00000370 4EBA FE06 jsr [PC - 0x1FA /* 00000178 */] 00000374 6026 bra +0x28 /* 0000039C */ label00000376: 00000376 487A 004A pea.l [PC + 0x4A /* 000003C2, value 0x5506963, pstring "Picas" */] 0000037A 4EBA FDFC jsr [PC - 0x204 /* 00000178 */] 0000037E 601C bra +0x1E /* 0000039C */ label00000380: 00000380 487A 0034 pea.l [PC + 0x34 /* 000003B6, value 0xB43656E, pstring "Centimeters" */] 00000384 4EBA FDF2 jsr [PC - 0x20E /* 00000178 */] 00000388 6012 bra +0x14 /* 0000039C */ label0000038A: 0000038A 487A 001E pea.l [PC + 0x1E /* 000003AA, value 0xB4D696C, pstring "Millimeters" */] 0000038E 4EBA FDE8 jsr [PC - 0x218 /* 00000178 */] 00000392 6008 bra +0xA /* 0000039C */ label00000394: 00000394 487A 000C pea.l [PC + 0xC /* 000003A2, value 0x6506F69, pstring "Points" */] 00000398 4EBA FDDE jsr [PC - 0x222 /* 00000178 */] label0000039C: 0000039C 285F movea.l A4, [A7]+ 0000039E 4E5E unlink A6 000003A0 4E75 rts 000003A2 0650 6F69 addi.w [A0], 0x6F69 /* 'oi' */ 000003A6 6E74 bgt +0x76 /* 0000041C */ 000003A8 7300 moveq.l D1, 0x00 000003AA 0B4D bchg A5, D5 000003AC 696C bvs +0x6E /* 0000041A */ 000003AE 6C69 bge +0x6B /* 00000419 */ 000003B0 6D65 blt +0x67 /* 00000417 */ 000003B2 7465 moveq.l D2, 0x65 000003B4 7273 moveq.l D1, 0x73 000003B6 0B43 bchg D3, D5 000003B8 656E bcs +0x70 /* 00000428 */ 000003BA 7469 moveq.l D2, 0x69 000003BC 6D65 blt +0x67 /* 00000423 */ 000003BE 7465 moveq.l D2, 0x65 000003C0 7273 moveq.l D1, 0x73 000003C2 0550 bchg [A0], D2 000003C4 6963 bvs +0x65 /* 00000429 */ 000003C6 6173 bsr +0x75 /* 0000043B */ 000003C8 0649 6E63 addi.w A1, 0x6E63 /* 'nc' */ 000003CC 6865 bvc +0x67 /* 00000433 */ 000003CE 7300 moveq.l D1, 0x00